package com.example.a22310.yuejian09.Fragment;


import android.content.Context;
import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.TextView;
import android.widget.Toast;

import com.example.a22310.yuejian09.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class ClubFragment extends Fragment {
    private  TextView tvinfo;
    private  View view=null;
    private Context context;


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
      context = getActivity();
      view = inflater.inflate(R.layout.fragment_club,container,false);
      tvinfo = (TextView)view.findViewById(R.id.textView6);
      tvinfo.setText("俱乐部");
        Toast.makeText(context,"加载fragment俱乐部",Toast.LENGTH_SHORT).show();
        return view;
    }

}
